<?php
include "../kt_login.php";
include "../../config.php";
$db = new lg_mysql($host,$dbuser,$dbpass,$csdl);
include "../kt_admin.php";
include "../function.php";

	$ten = $_POST["ten"];
	$cid = $_POST["cid"];
	$db->update("cat","ten",$ten,"id = '".$cid."'");	
?>